﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace Wolfy.NetDisk.Site
{
    public class RouteConfig
    {
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
            routes.IgnoreRoute("favicon.ico");
            routes.MapRoute("list", "{controller}/{action}/{type}", defaults: new { controller = "Home", action = "Home", type = UrlParameter.Optional });
            routes.MapRoute("Folder", "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "CreateFolder" });
            routes.MapRoute("Account", "{controller}/{action}", defaults: new { controller = "Account", action = "SignIn" });
         
       
           
        }
    }
}
